package com.lw.biz.dal.dao;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.lw.biz.dal.entity.BizData;
import com.lw.biz.dal.enums.GtOrLtEnum;
import com.lw.biz.dal.enums.SortEnum;
import com.lw.biz.dal.mapper.BizDataMapper;

@Repository
public class BizDataDao {

	@Autowired
	private BizDataMapper mapper;
	
    public List<BizData> selectDataByOffset(Long id,String categoryCode,int offset,GtOrLtEnum gtOrLtEnum,SortEnum sortEnum){
    	return mapper.selectDataByOffset(id, categoryCode, offset, gtOrLtEnum, sortEnum);
    }
}
